<!-- 开始头部菜单 -->
<div class="page-header-menu">
    <div class="container">
        <!-- BEGIN HEADER SEARCH BOX -->
        <form class="search-form" action="<?= site_url('search') ?>" method="GET">
            <div class="input-group">
                <input type="text" class="form-control" placeholder="搜索" name="keywords">
                <span class="input-group-btn">
                    <a href="javascript:;" class="btn submit">
                        <i class="icon-magnifier"></i>
                    </a>
                </span>
            </div>
        </form>
        <!-- END HEADER SEARCH BOX -->
        <!-- BEGIN MEGA MENU -->
        <!-- DOC: Apply "hor-menu-light" class after the "hor-menu" class below to have a horizontal menu with white background -->
        <!-- DOC: Remove data-hover="dropdown" and data-close-others="true" attributes below to disable the dropdown opening on mouse hover -->
        <div class="hor-menu  ">
            <ul class="nav navbar-nav">
                <li class="menu-dropdown classic-menu-dropdown active">
                    <a href="<?= base_url('home') ?>"> 主页
                        <span class="arrow"></span>
                    </a>
                </li>
                <li class="menu-dropdown mega-menu-dropdown  ">
                    <a href="javascript:;"> 电影分类
                        <span class="arrow"></span>
                    </a>
                    <ul class="dropdown-menu" style="min-width: 710px">
                        <li>
                            <div class="mega-menu-content">
                                <div class="row">
                                    <?php  for($i = 0; $i < sizeof($cateList); $i++): ?>
                                        <?php if($i % 5 == 0): ?>
                                        <div class="col-md-4">
                                            <ul class="mega-menu-submenu">
                                        <?php endif; ?>
                                        <li>
                                            <a href="<?=site_url('cate/'.$cateList[$i]['name_pinyin']).URI_SUFFIX?>"> <?=$cateList[$i]['name_cn']?> </a>
                                        </li>
                                        <?php if ($i % 5 == 4): ?>
                                            </ul>
                                        </div>
                                        <?php endif; ?>
                                    <?php endfor; ?>
                                </div>
                            </div>
                        </li>
                    </ul>
                </li>
                <li class="menu-dropdown classic-menu-dropdown">
                    <a href="javascript:;"> 关于
                        <span class="arrow"></span>
                    </a>
                    <ul class="dropdown-menu pull-left">
                        <li class=" ">
                            <a href="javascript:;" onclick="Common.alertError('温馨提示','网站部分功能尚未完善，敬请期待！')"> 关于 LN </a>
                        </li>
                        <li class=" ">
                            <a href="javascript:;" onclick="Common.alertError('温馨提示','网站部分功能尚未完善，敬请期待！')"> 关于团队 </a>
                        </li>
                        <li class=" ">
                            <a href="javascript:;" onclick="Common.alertError('温馨提示','网站部分功能尚未完善，敬请期待！')"> 发展经历 </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
        <!-- END MEGA MENU -->
    </div>
</div>
<!-- 结束头部菜单 -->
</div>
<!-- 结束头部 -->